import java.util.Scanner;

/**
 * Created by Salted fish
 * Description:
 * User: 24539
 * Date：2021-07-30
 * Time: 17:43
 */
public class TEST9 {
    public static void main(String[] args) {
        // Scanner sn = new Scanner(System.in);
        int n = 10;
        int m = 20;
        System.out.println(fn(n, m));

double a=2.0;
double b=3.0;
        System.out.println(fn(a,b));
    }

    public static int fn(int n, int m) {
        return n>m? n:m;
    }
    public static double fn(double n,double m) {
        return n>m? n:m;
    }
}